um\core\User D

Total Complexity 307
Dependencies 3
Dependents 2
Total lines 2,558
Lines of code 1,195
Logical lines of code 722
Comment lines 964
Methods 63
Properties 14

Methods 63

Method Rating Maintainability Complexity Lines of code
generate_profile_slug()
C
32 25 103
set()
C
36 24 76
flush_um_count_users_transient_update()
B
40 19 70
on_update_usermeta()
B
42 18 53
on_delete_usermeta()
B
42 17 57
secondary_role_field()
A
41 14 54
flush_um_count_users_transient_delete()
A
46 11 41
update_profile()
A
48 10 32
flush_um_count_users_transient_add()
A
49 8 36
is_metakey_banned()
S
59 8 13
get_profile_slug()
S
52 7 27
set_registration_details()
S
51 7 26
is_profile_noindex()
S
54 7 20
delete_user_handler()
S
50 6 26
user_has_metadata()
S
52 6 25
profile_update()
S
55 6 19
user_exists_by_name()
S
45 4 46
__construct()
S
41 3 59
delete()
S
57 5 17
profile_form_additional_section()
S
63 6 10
user_register_via_admin()
S
58 5 15
get_cached_data()
S
60 5 13
add_um_role_wpmu_new_user()
S
62 5 11
add_um_role_existing_user()
S
62 5 11
approve()
S
54 4 21
user_exists_by_custom_meta()
S
49 3 33
toArray()
S
60 4 14
generate_user_hash()
S
59 4 13
get_role()
S
63 4 11
get_admin_actions()
S
57 3 17
check_membership()
S
61 3 13
assign_secretkey()
S
62 3 11
user_exists_by_hash()
S
54 2 21
password_changed()
S
66 3 9
is_private_profile()
S
67 3 7
clean()
S
69 3 7
is_approved()
S
68 3 7
avoid_banned_keys()
S
66 3 9
user_exists_by_email_as_username()
S
61 2 13
set_gravatar()
S
63 2 11
user_exists_by_id()
S
67 2 8
setup_cache()
S
68 2 7
is_private_case()
S
66 2 8
get_profile_link()
S
69 2 7
add_activation_placeholder()
S
77 1 4
get_pending_users_count()
S
76 1 4
update_files()
S
80 1 3
add_activation_replace_placeholder()
S
76 1 4
set_status()
S
68 1 7
delete_meta()
S
80 1 3
update_usermeta_info()
S
75 1 4
deactivate()
S
68 1 7
reject()
S
70 1 6
pending()
S
70 1 6
email_pending()
S
68 1 7
password_reset()
S
67 1 7
maybe_generate_password_reset_key()
S
81 1 3
set_last_login()
S
78 1 3
auto_login()
S
70 1 6
reset()
S
80 1 3
remove_cache_all_users()
S
76 1 4
remove_cache()
S
80 1 3
remove_cached_queue()
S
76 1 4